Exit program Android

93

Exit program Android -

public void onBackPressed() {
  moveTaskToBack(true);
  android.os.Process.killProcess(android.os.Process.myPid());
  System.exit(1);
}

Exit program Android -

this.finishAffinity();

Comments

Submit
0 Comments